<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .user{
            background-color:white;
            border-radius: 4px;
            padding:20px; 
            margin:20px;
        }
        .title{
            margin-bottom: 20px;
        }
        .btn{
            padding:0 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            height: 40px;
            line-height: 40px; 
        }
        .btn-danger{
            background-color: #F56C6C;
            color: white;
        }
        .search input{
            margin: 0;
            box-sizing: border-box;
            outline: none;
            border:1px solid #DCDFE6;
            line-height: 40px;
            padding: 0 20px;
            border-radius: 4px;
        }
        .search{
            display: flex;
            justify-content: space-between;
        }
        table{
            border-collapse: collapse;
            width: 100%;
        }
        .table th{
            font-size: 12px;
            color: #AAACB1;
        }
        .data th{
            font-size: 12px;
            color: #AAACB1;
        }
        .data th,
        .data td{
            text-align: left;
            padding: 15px 0;
            border-bottom: 1px solid #ebeef5;
        }
        .data td{
            font-size: 14px;
        }
        .avatar{
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 5px;
        }
        .avatar > img{
            width:100%
        }
        .btn-default{
            background-color: white;
            border: 1px solid #ebeef5;
            color: #606266;
        }
    </style>
</head>
<body>
    <div class="user">
        <h2 class="title">成绩管理</h2>
        <div class="search">
            <input type="text" placeholder="请输入账号/昵称">
            <button class="btn btn-danger">新增</button>
        </div>
        <table class="data">
            <thead>
                <tr>
                    <th><input type="checkbox"></th>
                    <th>学号</th>
                    <th>姓名</th>
                    <th>专业</th>
                    <th>课程</th>
                    <th>分数</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td><input type="checkbox"></td>
                    <td>
                        <div class="avatar">
                            <img src="./img/1.jpg">
                        </div>
                    </td>
                    <td>2019212939</td>
                    <td>张三</td>
                    <td>软件工程</td>
                    <td>Vue框架</td>
                    <td>66</td>
                    <td>
                        <button class="btn btn-default">修改</button>
                        <button class="btn btn-danger">删除</button>
                    </td>
                </tr>
            </tbody>

        </table>
    </div>
</body>
</html>